package com.learning.spring.cloud.alibaba.feign;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * ClassName: FeignEurekaServerApplication
 * Description: 启动类
 * 1、添加注解：@EnableEurekaServer 表明是一个 Eureka Server
 * 2、访问路径：http://localhost:8761/
 * Date: 2021/7/25 23:03 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@Slf4j
@EnableEurekaServer
@SpringBootApplication
public class FeignEurekaServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignEurekaServerApplication.class, args);
        log.info("~~~~~~~~~ Feign Eureka Server application is started ~~~~~~~~~");
    }
}
